package com.model;

import com.sql.DistributorSql;
import java.util.ArrayList;

/**
 *
 * @author Khaled Lela
 */
public class DistributorComboModel extends javax.swing.DefaultComboBoxModel {

    ArrayList<String> names;

    public DistributorComboModel() {
        names = new ArrayList<String>();
        names = new DistributorSql().getDistributorName();
        addElement("");
        for (String value : names) {
            addElement(value);
        }
    }
}
